package com.example.leetcode.math;

import com.example.leetcode.math.common.MathUtils;

class Solution2544 {
    public int alternateDigitSum(int n) {
        return MathUtils.alternateDigitSum(n);
    }
}
public class leetcode2544 {
    public static void main(String[] args) {
        Solution2544 solution2544 = new Solution2544();
        System.out.println(solution2544.alternateDigitSum(521));
        System.out.println(solution2544.alternateDigitSum(111));
        System.out.println(solution2544.alternateDigitSum(886996));
    }
}
